package com.wzx.data.entity;
import com.wzx.basics.baseClass.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 课件 实体类
 * @author wzx
 * @since 2023/03/20
 */
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@Table(name = "a_course_ware")
@TableName("a_course_ware")
@ApiModel(value = "课件")
public class CourseWare extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 课件名称
     */
    @ApiModelProperty(value = "课件名称")
    private String fileName;

    /**
     * 所属课程
     */
    @ApiModelProperty(value = "所属课程")
    private String courseId;

    /**
     * 教师Id
     */
    @ApiModelProperty(value = "教师Id")
    private String teacherId;

    /**
     * 文件大小
     */
    @ApiModelProperty(value = "文件大小")
    private Long fileSize;

    /**
     * 文件路径
     */
    @ApiModelProperty(value = "文件路径")
    private String fileUrl;

    /**
     * 下载次数
     */
    @ApiModelProperty(value = "下载次数")
    private Integer count;
    /**
     * 文件备注
     */
    @ApiModelProperty(value = "文件备注")
    private String remark;

}